package com.hxd.otc.module.convenience.contract;

import com.hxd.otc.module.convenience.adapter.ConvenienceAdapter;
import com.hxd.otc.module.convenience.bean.ConvenienceBannerBean;
import com.hxd.otc.module.convenience.bean.RefuelingServiceBean;
import com.hxd.otc.mvp.contract.BaseRecyclerContract;

import java.util.ArrayList;

/**
 * Created by lzy on 2018/12/14 0014.
 * description ${便民服务Contract}
 */
public interface ConvenienceContract {
    interface IView extends BaseRecyclerContract.View<ConvenienceAdapter, RefuelingServiceBean> {
        void getBannerListSuccess(ArrayList<ConvenienceBannerBean> convenienceBannerBeans);

        void getBannerListFail(String errMessage);
    }

    interface IPresenter extends BaseRecyclerContract.Presenter<RefuelingServiceBean> {
        void getBannerList();

        void bannerUpdate(String bannerId);
    }
}
